﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanLyNhanVien.DataAccessLayer;

namespace QuanLyNhanVien.BusinessLogicLayer
{
    class ProviderCTL
    {
        private DataProvider dp = new DataProvider();
        public DataProvider Provider
        {
            get
            {
                return dp;
            }
            set
            {
                dp = value;
            }
        }

        public List<string> ListTables()
        {
            return dp.ListTables();
        }

        static public void SetURL(string url)
        {
            DataProvider.URL = url;
        }
    }
}
